{extend name='admin@main'}

{block name="button"}

{/block}

{block name="content"}
<div class="think-box-shadow">
    
    <table class="layui-table margin-top-10" lay-skin="line">
        <thead>
            <tr>
                <th>ID</th>
                <th>用户昵称</th>
                <th>Openid</th>
                <th>是否认证</th>
                <th>推广人员</th>
                <th>所属分组</th>
                <th>推广时间</th>
            </tr>
        </thead>
        <tbody>
        {foreach $list as $key=>$vo}
        <tr>
            <td>{$vo.id}</td>
            <td>{$vo.wechat_nickname}</td>
            <td>{$vo.openid}</td>
            <td>
                {switch $vo.status}
                    {case 0}未认证{/case}
                    {case 1}待认证{/case}
                    {case 2}通过{/case}
                    {default /}拒绝
                {/switch}
            </td>
            <td>{$vo.father_name}</td>
            <td>{$vo.grand_name}</td>
            <td>{$vo.created_at|date='Y-m-d H:i:s'}</td>
        </tr>
        {/foreach}
        
        
        </tbody>
    </table>
    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
</div>
{/block}
